# -*- coding:utf-8 -*-

def absolute(n):
    if n < 0:
        n = -n
    return n

print (absolute(3))
print (absolute(-3))

def total(a, b):
    return a + b

print (total(1, 5))



def mul_div(a, b):
    return a * b, a / b

mul, div = mul_div(4, 5)
print(mul, div)


print ('-------------------------------')
# 가변 인자
def func(*varl):
    for i in varl:
        print(i)
func(1, 2)
func(4, 5, 6)
func(4)

print ('-------------------------------')
#기본 인자값


def mul(a, b = 10):
	return a * b

print (mul(3))
print (mul(4, 5))

